package com.tyk.bookstore.back.product.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author tyk
 * @description 书籍点赞
 */
@Schema(name = "BookPraiseDo", description = "书籍点赞")
@Data
@TableName("book_praise")
public class BookPraiseDo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "书籍ID")
    @TableField(value = "book_id")
    private Long bookId;

    @Schema(description = "会员ID")
    @TableField("member_id")
    private Long memberId;
}
